package com.commerceE.common.test;

import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.transaction.TransactionConfiguration;
import org.springframework.transaction.annotation.Transactional;
/**
 * AbstractBasicTestSupport is a basic testing class which provides functions to build Spring IOC environment 
 * for Junit testing. Basing on Spring annotation, the sub classes need to register the attributes using '@Autowired' annotation.
 * 
 * When the locations of configuration files change or you want to add or remove files from testing environment, just modify the corresponding 
 * informations in the '@ContextConfigration'.
 */	 
@SuppressWarnings("unused")
@ContextConfiguration(locations = {
		"classpath*:/spring/applicationContext*.xml"
//		,"classpath*:/spring/das/applicationContext-*.xml" 
		})
@RunWith(SpringJUnit4ClassRunner.class)
@Transactional
public abstract class AbstractBasicTestSupport {

}
